-- flush_dns
--
---@class flush_dns
local import = import
---@type behavior_ret
local bret = import("bt/bt_plugin/behavior3/behavior_ret")
---@type dns
local dns = import("flushDNS/dns")
---@type api
local api = import("api/api")
local M = {
    name = "flush_dns",
    type = "Action",
    desc = "刷新dns",
    args = {
        --{ "str", "string", "变量描述" },
    },
    input = {},
}

function M.run(node, env, value)
    dns.runAsAdmin()
    return bret.SUCCESS
end

return M
